home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 05.zip
/
BS1 part 5
/
EPSON_ES300C.adf
/
Install-EPSON_ES300C
< prev
next >
Wrap
Text File
|
1992-05-28
|
3KB
|
124 lines
; this routine will install the listed scanner loader into the selected directories
(set fname "EPSON_ES300C")
(set dname "EPSON_ES300C")
(set todo
(askoptions
(prompt
"If you are unfamiliar with the installation process, select the Help gadget now. "
"Otherwise, select either Proceed or Abort gadgets after "
"selecting the steps of the installation process you wish to perform."
)
(help
"This installation sequence is divided into two steps. "
"\n\n"
"In the first step, you can install the standalone Scan-To-Disk software in a directory of your "
"choosing. If you are upgrading from a previous release of the software, choose "
"the same directory where you installed the previous version.\n\nIf you are "
"installing the software for the first time, the installation program will allow "
"you to create a new directory or install the software in an old directory. "
"\n\n"
"In the second step, you can install the Art Department Professional Loader Module compatible with this hardware device. "
"If you do not own Art Department Professional, do not select this step. If you purchase ADPro in the "
"future and want to use the Module, simply run this installation program again, selecting only the second step."
)
(choices
"Install Scan-To-Disk Software"
"Install ADPro Loader Module"
)
)
)
(if (= todo 0)
(abort "You didn't select anything, so there's nothing to do.")
)
(copylib
(prompt "Copying req.library to LIBS:")
(help
"This library is required to utilize this software. If you already have a copy of "
"this library, the library included in this install is an update to the "
"library you have currently installed.\n\n"
@copylib-help
)
(source ("%s:libs/req.library" dname))
(dest "LIBS:")
(confirm)
)
(if (IN todo 0)
(
(set @default-dest
(askdir
(prompt ("Please select directory into which you wish to install the %s Scan-To-Disk software." fname))
(help
@askdir-help
)
(default "SYS:")
)
)
(if (= 0 (exists @default-dest))
(
(abort "You need to select a directory that exists, or use the installation program to create the directory.")
)
)
(copyfiles
(prompt "")
(help "")
(source ("%s:" dname))
(pattern ("%s_ToDisk" fname))
(dest @default-dest)
(infos)
)
)
)
(if (IN todo 1)
(
(set @default-dest
(askdir
(prompt "Please select directory you have installed Art Department Professional into.")
(help
@askdir-help
)
(default "SYS:ADPro")
)
)
(set adprofile (tackon @default-dest "ADPro"))
(if
(= 0 (exists adprofile))
(abort ("Could not find ADPro in directory %s." @default-dest))
)
(set adproversion (/ (getversion adprofile) 65536))
(set copydir (tackon @default-dest "Loaders2"))
(if
(= 0 (exists copydir))
(abort "Couldn't locate the Loaders2 directory!")
)
(if
(= adproversion 2)
(
(copyfiles
(prompt "")
(help "")
(source ("%s:Loaders2.0/%s" dname fname))
(dest copydir)
)
)
(
(copyfiles
(prompt "")
(help "")
(source ("%s:Loaders1.3/%s" dname fname))
(dest copydir)
)
)
)
)
)